package oaSystem.biz;

import java.util.List;

import oaSystem.entity.Department;

public interface DepartmentBiz {
	/**
	 * 增加部门
	 * @param department
	 */
	void addDepartment(Department department);//简单代理
	
	/**
	 * 编辑部门
	 * @param department
	 */
	void updaDepartment(Department department);//简单代理
	/**
	 * 注销部门
	 * @param departmentId
	 */
	void logOutDepartment(Integer departmentId);
	/**
	 * 查询全部部门
	 * @return
	 */
	List<Department> findAllDepartment();//简单代理
	
	/**
	 * 通过部门Id查询部门
	 * @param departmentId
	 * @return
	 */
	Department fetchDepartmentById(int departmentId);//简单代理
}
